package com.yonyougov.devops.cruxcisupport.committest.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigInteger;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "提测/重新提测")
public class CommitOrReCommitDto extends BaseRequestDto {
    /**
     * 提测id
     */
    private BigInteger id;

    /**
     * 环境Id
     */
    private BigInteger envId;

    /**
     * 提测内容
     */
    private String testContent;

    /**
     * 测试类型
     */
    private int testType;

    /**
     * 提测备注
     */
    private String remark;

    /**
     * 提测人Id
     */
    private BigInteger submitUserId;

    /**
     * 测试主管Id
     */
    private BigInteger testLead;

    /**
     * 需求分析人Id
     */
    private BigInteger productManager;

    /**
     * 附件路径
     */
    private List<String> attachmentUrls;

    /**
     * 提测内容ids
     */
    private List<CommitContextDto> commitContext;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * bugId
     */
    private String bugId;

    /**
     * bug描述
     */
    private String bugDesc;

    /**
     * 功能描述
     */
    private String funDesc;

    /**
     * 优先级
     */
    private Integer priority;
}
